<html>
    <head>
        <meta name='layout' content='thick_sidebar'/>
        <content tag="title">ibiblio terasaur - OpenID Link Account</content>
    </head>
    <body>
        <div>
<%--
<g:if test="${command.openIdUrl}" >
<g:hasErrors bean="${command}">
            <div class="errors">
                <g:renderErrors bean="${command}" as="list"/>
            </div>
</g:hasErrors>
</g:if>
--%>
<g:hasErrors bean="${openId}">
            <div class="errors">
                <g:renderErrors bean="${openId}" as="list"/>
            </div>
</g:hasErrors>
<g:hasErrors bean="${user}">
            <div class="errors">
                <g:renderErrors bean="${user}" as="list"/>
            </div>
</g:hasErrors>
            <div class="rule"><hr /></div>
            <span class="message-large">Add OpenID URL for user ${command.username}</span>
            <br/><br/>
            <g:form action='linkAccount'>
                <g:hiddenField name="userId" value="${command.userId}" />
                <g:hiddenField name="username" value="${command.username}" />
                <g:textField name="openIdUrl" value="${command.openIdUrl}" size="75"/><br/><br/>
                <span class="button"><g:submitButton name="save" value="${message(code: 'default.button.update.label')}" /></span>
            </g:form>
        </div>
    </body>
</html>
